<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="__ROOT__/static/blupilot/css/style.css" />
    <link rel="stylesheet" href="__ROOT__/static/blupilot/css/swiper-3.4.2.min.css" />
    <link rel="stylesheet" href="__ROOT__/static/blupilot/layui/css/modules/layer/default/layer.css" />
    <title>{:lang('SHOP')} {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}" />
    <meta name="description" content="{$site_info.site_seo_description|default=''}">

    <include file="public@header_new" />


    <div class="main" style="margin-top: 30px;">
        <div style="float: left;width: 300px;height: 500px;">
            <img src="{:cmf_get_image_url($data.img)}" style="width: 100%;height: 400px;" />
        </div>
        <form action="{:url('shop/index/order')}" method="post">
            <div style="float: left;width: 700px;">
                <div style="padding-left: 50px;">
                    <p style="font-size: 25px;">{$data.title}</p>
                    <p style="font-size: 18px;color:#EE2C2C;">
                        <span>{:lang('SELL_PRICE')}:</span>
                        <span>{$data.user_price}</span>
                    </p>
                    <p style="font-size: 15px;color:#CDC9C9;text-decoration:line-through;">
                        <span>{:lang('OLD_PRICE')}:</span>
                        <span>{$data.sell_price}</span>
                    </p>
                    <p style="font-size: 15px;">
                        <span>{:lang('COUNT')}:</span>
                        <input type="number" name="count" value="1" required min="1" max="5" />
                    </p>
                    <input type="hidden" name="shopid" value="{$data.shopid}">
                    <input type="hidden" name="pay_price" value="{$data.user_price}">
                    <button>{:lang('BUY')}</button>
                </div>
            </div>
        </form>
        <div class="clearboth"></div>
    </div>
    
    <include file="public@footer_new" />
    </body>

</html>